# Snow CLI User Guide - Command Panel Guide

The command panel is a quick command system provided by Snow CLI, allowing you to quickly execute various operations through simple slash commands. This page is an index — detailed command descriptions are organized by category into the sub-documents below.

## Command Panel Overview

All commands start with `/` and can be executed by typing them in the chat input box. Commands are divided into the following categories:

| Category                   | Sub-document                                                                                        | Commands covered                                                                                                                                                                                                                     |
| -------------------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Session management         | [09.1 Session Management Commands](./09.1.Session%20Management%20Commands.md)                       | `/clear`, `/del-session`, `/resume`, `/export`, `/copy-last`, `/compact`, `/branch`, `/cut`, `/pause`, `/continue`                                                                                                                   |
| Mode switching             | [09.2 Mode Switching Commands](./09.2.Mode%20Switching%20Commands.md)                               | `/yolo`, `/plan`, `/vulnerability-hunting`, `/tool-search`, `/tool-display`, `/tool-icons`, `/tool-names`, `/think-display`, `/image-compress`                                                                                       |
| Code review & analysis     | [09.3 Code Review and Analysis Commands](./09.3.Code%20Review%20and%20Analysis%20Commands.md)       | `/review`, `/diff`, `/init`, `/new-prompt`, `/role`, `/reindex`, `/codebase`                                                                                                                                                         |
| Configuration & management | [09.4 Configuration and Management Commands](./09.4.Configuration%20and%20Management%20Commands.md) | `/home`, `/ide`, `/connect`, `/disconnect`, `/connection-status`, `/mcp`, `/usage`, `/telemetry`, `/permissions`, `/auto-format`, `/config`, `/help`, `/quit`, `/worktree`, `/add-dir`, `/cleanup`, `/backend`, `/loop`, `/profiles` |
| Custom extensions          | [09.5 Custom Extension Commands](./09.5.Custom%20Extension%20Commands.md)                           | `/custom`, `/skills`, `/role-subagent`, `/btw`, custom command deletion rules                                                                                                                                                        |
| Special commands           | [09.6 Special Commands](./09.6.Special%20Commands.md)                                               | `/agent-`, `/todo-`, `/skills-`                                                                                                                                                                                                      |
| Goal management            | [09.7 Goal Management Commands](./09.7.Goal%20Management%20Commands.md)                             | `/goal` (persistent goal-driven loop)                                                                                                                                                                                                |

## Keyboard Shortcuts

In addition to slash commands, there are some convenient shortcuts:

- `Ctrl+P`: Switch profile
- `Ctrl+L`: Clear screen (equivalent to `/clear`)
- `ESC`: Interrupt AI response
- `?`: Open help panel (equivalent to `/help`)
- `↑/↓`: Browse input history
- `#`: Open sub-agent selection panel (type `#` in input box)
- `>>`: Send message to running sub-agents (type `>>` at the beginning of input box)

## Usage Tips

1. **Auto-complete**: After typing `/` all available commands will be displayed, can use arrow keys to select

2. **Command Combinations**: Some commands can be combined with modes, for example:

   - Turn on `/yolo` mode then execute `/review` for quick code review
   - Turn on `/plan` mode then execute `/init` for more detailed project documentation

3. **Custom Workflows**: Use `/custom` to create shortcut commands for common operations

   - For example, create `/deploy` to execute deployment scripts
   - Create `/test` to run test commands

4. **Skill Reuse**: Use `/skills` to create reusable task templates

   - Code generation templates
   - Document templates
   - Test case templates
   - Use `/skills -l` to open the skills list panel, where you can enable/disable skills, press `U` to update the selected skill, or `A` to update all GitHub skills
   - For detailed documentation, see [Skills Command Detailed Guide](./18.Skills%20Command%20Detailed%20Guide.md)

5. **Session Management**: Regularly use `/export` to back up important conversations, and use `/compact` to compress long conversations

6. **Scheduled loops**: Use `/loop` when you need to run the same prompt repeatedly, such as `/loop 5m check logs`; use `/loop daily 09:30 check daily report` or `/loop check daily report every day at 09:30` to run at a specific local time every day; use `/loop daemon 5m check logs` if it should keep running after the current Snow CLI session exits, then use `/loop list` to find the Loop ID and `/loop cancel <id>` to stop it

7. **Goal-driven loops**: For complex multi-turn tasks, use `/goal <objective>` to create a persistent goal — the AI will iterate automatically until the model explicitly marks completion

## Frequently Asked Questions

### Q: What if commands don't work?

A: Check the following:

- Confirm command spelling is correct (case-sensitive)
- Some commands have prerequisites (like `/reindex` needs codebase enabled)
- Check error message prompts

### Q: How to view all available commands?

A: Type `/` and wait, auto-complete list will be displayed, or use `/help` to view help

### Q: Where are custom commands saved?

A:

- Global commands: `~/.snow/commands/`
- Project commands: `<project-root>/.snow/commands/`

### Q: How to share custom commands between different projects?

A: Choose "global" location when creating commands, or manually copy `.snow/commands/` directory to other projects

## Related Configuration

- [Sensitive Command Configuration](./06.Sensitive%20Commands%20Configuration.md) - Configure dangerous operations that need confirmation
- [Hooks Configuration](./07.Hooks%20Configuration.md) - Configure automation before/after command execution
- [Codebase Settings](./04.Codebase%20Setup.md) - Configure codebase indexing feature (required for `/reindex`)
- [Command Injection Mode](./10.Command%20Injection%20Mode.md) - Execute commands directly in messages as an advanced feature
- [Vulnerability Hunting Mode](./11.Vulnerability%20Hunting%20Mode.md) - Professional security analysis and vulnerability detection feature
